diff --git a/pkgs/software-heritage/swh-fuse.nix b/pkgs/software-heritage/swh-fuse.nix new file mode 100644 index 00000000..c0e8eeca --- /dev/null +++ b/pkgs/software-heritage/swh-fuse.nix @@ -0,0 +1,35 @@ +{ stdenv, lib, python3Packages, swh-core, swh-model, swh-web-client, ... }: + +with python3Packages; +buildPythonPackage rec { + pname = "swh-fuse"; + version = "1.0.5"; + + src = fetchPypi { + inherit version; + pname = "swh.fuse"; + sha256 = "sha256-k1h/J47rTsqsB/oW3bptFmdyD5PUGkL3MxM9BnrR3Eo"; + }; + + doCheck = false; + propagatedBuildInputs = [ + pyyaml + aiosqlite + psutil + pyfuse3 + python-daemon + requests + + setuptools-scm + + swh-core + swh-web-client + swh-model + ]; + + meta = with lib; { + description = "Software Heritage filesystem"; + homepage = "https://www.softwareheritage.org/"; + license = licenses.gpl3Only; + }; +}