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
43
pkgs/development/python-modules/pyroma/default.nix
Normal file
43
pkgs/development/python-modules/pyroma/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, docutils
|
||||
, python
|
||||
, pygments
|
||||
, setuptools
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyroma";
|
||||
version = "3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "regebro";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0ln9w984n48nyxwzd1y48l6b18lnv52radcyizaw56lapcgxrzdr";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
docutils
|
||||
pygments
|
||||
setuptools
|
||||
requests
|
||||
];
|
||||
|
||||
# https://github.com/regebro/pyroma/blob/3.2/Makefile#L23
|
||||
# PyPITest requires network access
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest -k 'not PyPITest' pyroma.tests
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "pyroma" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Test your project's packaging friendliness";
|
||||
homepage = "https://github.com/regebro/pyroma";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ kamadorueda ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue