mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
0215034f25
when they already rely on SRI hashes.
34 lines
630 B
Nix
34 lines
630 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "arnparse";
|
|
version = "0.0.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "PokaInc";
|
|
repo = "arnparse";
|
|
rev = version;
|
|
hash = "sha256-2+wxzYoS/KJXjYM6lZguxbr2Oxobo0eFNnzWZHLi0WM=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"arnparse"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Parse ARNs using Python";
|
|
homepage = "https://github.com/PokaInc/arnparse";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ wolfangaukang ];
|
|
};
|
|
}
|