mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
dc7bddbb89
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-snuggs/versions
30 lines
699 B
Nix
30 lines
699 B
Nix
{ buildPythonPackage, lib, fetchFromGitHub
|
|
, click, numpy, pyparsing
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "snuggs";
|
|
version = "1.4.3";
|
|
|
|
# Pypi doesn't ship the tests, so we fetch directly from GitHub
|
|
src = fetchFromGitHub {
|
|
owner = "mapbox";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "198nbgkhlg4ik2i1r2cp900iqlairh2hnii2y8v5wy1qk3rv0s9g";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|