nixos-config/pkgs/software-heritage/swh-model.nix

40 lines
726 B
Nix
Raw Normal View History

2022-08-10 10:32:23 +00:00
{ stdenv, lib, python3Packages, attrs-strict, swh-core, ... }:
with python3Packages;
buildPythonPackage rec {
pname = "swh-model";
2025-03-25 01:48:57 +00:00
version = "7.1.0";
pyproject = true;
2022-08-10 10:32:23 +00:00
src = fetchPypi {
inherit version;
2025-03-25 01:48:57 +00:00
pname = "swh_model";
hash = "sha256-MdyhpKm4UzIFVMhIlAT75OMUmfDcOFZzk/dJIZASwmE=";
2022-08-10 10:32:23 +00:00
};
doCheck = false;
propagatedBuildInputs = [
deprecated
typing-extensions
hypothesis
iso8601
python-dateutil
2022-08-10 10:32:23 +00:00
attrs
attrs-strict
2025-03-25 01:48:57 +00:00
aiohttp
pytz
2022-08-10 10:32:23 +00:00
swh-core
2025-03-25 01:48:57 +00:00
# requirements for CLI
click
dulwich
2022-08-10 10:32:23 +00:00
];
meta = with lib; {
description = "Software Heritage filesystem";
homepage = "https://www.softwareheritage.org/";
license = licenses.gpl3Only;
};
}