nixpkgs/pkgs/development/python-modules/persisting-theory/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

29 lines
608 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "persisting-theory";
version = "1.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-D4QPoiJHvKpRQJTafzsmxgI1lCmrEtLNiL4GtJozYpA=";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "persisting_theory" ];
meta = with lib; {
homepage = "https://code.agate.blue/agate/persisting-theory";
description = "Automate data discovering and access inside a list of packages";
license = licenses.bsd3;
maintainers = with maintainers; [ mmai ];
};
}