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
19
pkgs/applications/misc/pyditz/cerberus.nix
Normal file
19
pkgs/applications/misc/pyditz/cerberus.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pytest-runner, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Cerberus";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1pxzr8sfm2hc5s96m9k044i44nwkva70n0ypr6a35v73zn891cx5";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest-runner pytest ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://python-cerberus.org/";
|
||||
description = "Lightweight, extensible schema and data validation tool for Python dictionaries";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
29
pkgs/applications/misc/pyditz/default.nix
Normal file
29
pkgs/applications/misc/pyditz/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, pythonPackages }:
|
||||
|
||||
with pythonPackages;
|
||||
|
||||
let
|
||||
cerberus_1_1 = callPackage ./cerberus.nix { };
|
||||
in buildPythonApplication rec {
|
||||
pname = "pyditz";
|
||||
version = "0.11";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "da0365ae9064e30c4a27526fb0d7a802fda5c8651cda6990d17be7ede89a2551";
|
||||
};
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
propagatedBuildInputs = [ pyyaml six jinja2 cerberus_1_1 ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest discover
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://pythonhosted.org/pyditz/";
|
||||
description = "Drop-in replacement for the Ditz distributed issue tracker";
|
||||
maintainers = [ maintainers.ilikeavocadoes ];
|
||||
license = licenses.lgpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue