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

35 lines
659 B
Nix

{ stdenv, lib, python3Packages, attrs-strict, swh-core, ... }:
with python3Packages;
buildPythonPackage rec {
pname = "swh-model";
version = "6.3.1";
src = fetchPypi {
inherit version;
pname = "swh.model";
sha256 = "sha256-9bORvIz5hCTZ+MDOY7mLViax7MkKjLq333EtINs+BjI=";
};
doCheck = false;
propagatedBuildInputs = [
click
dulwich
deprecated
typing-extensions
hypothesis
iso8601
python-dateutil
attrs
attrs-strict
swh-core
];
meta = with lib; {
description = "Software Heritage filesystem";
homepage = "https://www.softwareheritage.org/";
license = licenses.gpl3Only;
};
}