uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
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, hypothesis
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "snuggs";
|
||||
version = "1.4.7";
|
||||
|
||||
# Pypi doesn't ship the tests, so we fetch directly from GitHub
|
||||
src = fetchFromGitHub {
|
||||
owner = "mapbox";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1p3lh9s2ylsnrzbs931y2vn7mp2y2xskgqmh767c9l1a33shfgwf";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ click numpy pyparsing ];
|
||||
|
||||
checkInputs = [ pytest hypothesis ];
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue