11 src = fetchFromGitHub {
15 hash = "sha256-5o4QliAXgSZekIy0CNWfEuOxNl0uetL8C8RKUJ8HsNA=";
17 app = buildNpmPackage {
18 pname = "${pname}-app";
21 npmDepsHash = "sha256-q7E+osWIf6VZ3JvxCXoZYeF28aMgmKP6EzQkksUUjeY=";
24 # https://github.com/psi-4ward/psitransfer/pull/284
25 touch public/app/.npmignore
30 cp -r ../public/app $out
34 inherit pname version src;
36 npmDepsHash = "sha256-EW/Fej58LE/nbJomPtWvEjDveAUdo0jIWwC+ziN0gy0=";
38 nativeBuildInputs = [ pkg-config ];
40 vips # for 'sharp' dependency
45 cp -r ${app} public/app
51 homepage = "https://github.com/psi-4ward/psitransfer";
52 description = "Simple open source self-hosted file sharing solution";
53 license = lib.licenses.bsd2;
54 maintainers = with lib.maintainers; [ hyshka ];
55 mainProgram = "psitransfer";