5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
31 lines
584 B
Nix
31 lines
584 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 = [ ];
|
|
};
|
|
}
|