pythonPackages.snuggs: init at 1.4.2

This commit is contained in:
Massimo Redaelli 2018-11-25 10:22:25 +01:00 committed by Massimo Redaelli
parent 440f19a36f
commit 443b5e856d
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ buildPythonPackage, lib, fetchFromGitHub
, click, numpy, pyparsing
, pytest
}:
buildPythonPackage rec {
pname = "snuggs";
version = "1.4.2";
# Pypi doesn't ship the tests, so we fetch directly from GitHub
src = fetchFromGitHub {
owner = "mapbox";
repo = pname;
rev = version;
sha256 = "1q6jqwai4qgghdjgwhyx3yz8mlrm7p1vvnwc339lfl028hrgb5kb";
};
propagatedBuildInputs = [ click numpy pyparsing ];
checkInputs = [ pytest ];
checkPhase = "pytest test_snuggs.py";
meta = with lib; {
description = "S-expressions for Numpy";
license = licenses.mit;
homepage = https://github.com/mapbox/snuggs;
maintainers = with maintainers; [ mredaelli ];
};
}

View File

@ -3841,6 +3841,8 @@ in {
snug = callPackage ../development/python-modules/snug { };
snuggs = callPackage ../development/python-modules/snuggs { };
spake2 = callPackage ../development/python-modules/spake2 { };
sphfile = callPackage ../development/python-modules/sphfile { };