pythonPackages.snuggs: init at 1.4.2
This commit is contained in:
parent
440f19a36f
commit
443b5e856d
29
pkgs/development/python-modules/snuggs/default.nix
Normal file
29
pkgs/development/python-modules/snuggs/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -3841,6 +3841,8 @@ in {
|
|||||||
|
|
||||||
snug = callPackage ../development/python-modules/snug { };
|
snug = callPackage ../development/python-modules/snug { };
|
||||||
|
|
||||||
|
snuggs = callPackage ../development/python-modules/snuggs { };
|
||||||
|
|
||||||
spake2 = callPackage ../development/python-modules/spake2 { };
|
spake2 = callPackage ../development/python-modules/spake2 { };
|
||||||
|
|
||||||
sphfile = callPackage ../development/python-modules/sphfile { };
|
sphfile = callPackage ../development/python-modules/sphfile { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user