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
37
pkgs/development/python-modules/releases/default.nix
Normal file
37
pkgs/development/python-modules/releases/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, semantic-version
|
||||
, sphinx
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "releases";
|
||||
version = "1.6.3";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bitprophet";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-XX2e6bjBNMun31h0sNJ9ieZE01U+PhA5JYYNOuMgD20=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "semantic_version<2.7" "semantic_version"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ semantic-version sphinx ];
|
||||
|
||||
# Test suite doesn't run. See https://github.com/bitprophet/releases/issues/95.
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "releases" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Sphinx extension for changelog manipulation";
|
||||
homepage = "https://github.com/bitprophet/releases";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ samuela ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue