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
32
pkgs/development/python-modules/yacs/default.nix
Normal file
32
pkgs/development/python-modules/yacs/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, python
|
||||
, pyyaml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "yacs";
|
||||
version = "0.1.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rbgirshick";
|
||||
repo = "yacs";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-nO8FL4tTkfTthXYXxXORLieFwvn780DDxfrxC9EUUJ0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyyaml ];
|
||||
|
||||
pythonImportsCheck = [ "yacs" ];
|
||||
checkPhase = ''
|
||||
${python.interpreter} yacs/tests.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Yet Another Configuration System";
|
||||
homepage = "https://github.com/rbgirshick/yacs";
|
||||
license = licenses.apsl20;
|
||||
maintainers = with maintainers; [ lucasew ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue