nixpkgs/pkgs/development/python-modules/toposort/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

32 lines
596 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
}:
buildPythonPackage rec {
pname = "toposort";
version = "1.10";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-v7tHnFPQppbqdAJgH05pPJewNng3yImLxkca38o3pr0=";
};
nativeBuildInputs = [
setuptools
];
pythonImportsCheck = [
"toposort"
];
meta = with lib; {
description = "A topological sort algorithm";
homepage = "https://pypi.python.org/pypi/toposort/";
maintainers = with maintainers; [ ];
platforms = platforms.unix;
license = licenses.asl20;
};
}