34 lines
585 B
Nix
34 lines
585 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchFromGitHub
|
||
|
, six
|
||
|
, nose
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "prison";
|
||
|
version = "0.1.2";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "betodealmeida";
|
||
|
repo = "python-rison";
|
||
|
rev = version;
|
||
|
sha256 = "14vb468iznf9416z993bbqihywp9ibyslw5vp67wfr200zyxjwak";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
six
|
||
|
];
|
||
|
|
||
|
checkInputs = [
|
||
|
nose
|
||
|
];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Rison encoder/decoder";
|
||
|
homepage = https://github.com/betodealmeida/python-rison;
|
||
|
license = licenses.mit;
|
||
|
maintainers = [ maintainers.costrouc ];
|
||
|
};
|
||
|
}
|