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

35 lines
659 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";
2023-05-09 08:03:37 +00:00
version = "6.7.0";
2022-08-10 10:32:23 +00:00
src = fetchPypi {
inherit version;
pname = "swh.model";
2023-05-09 08:03:37 +00:00
sha256 = "sha256-88xlN/vGXMG858+0A1Wb4EIYC9btRTopY7Ryvw/huDo=";
2022-08-10 10:32:23 +00:00
};
doCheck = false;
propagatedBuildInputs = [
click
dulwich
deprecated
typing-extensions
hypothesis
iso8601
python-dateutil
2022-08-10 10:32:23 +00:00
attrs
attrs-strict
swh-core
];
meta = with lib; {
description = "Software Heritage filesystem";
homepage = "https://www.softwareheritage.org/";
license = licenses.gpl3Only;
};
}