mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
35 lines
607 B
Nix
35 lines
607 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, repeated-test
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "od";
|
|
version = "2.0.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-uGkj2Z8mLg51IV+FOqwZl1hT7zVyjmD1CcY/VbH4tKk=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
repeated-test
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"od"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Shorthand syntax for building OrderedDicts";
|
|
homepage = "https://github.com/epsy/od";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|