0215034f25
when they already rely on SRI hashes.
32 lines
596 B
Nix
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;
|
|
};
|
|
}
|