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/development/python-modules/mistune/common.nix
Normal file
19
pkgs/development/python-modules/mistune/common.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, nose, version, sha256, format ? "setuptools" }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
inherit version format;
|
||||
pname = "mistune";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version sha256;
|
||||
};
|
||||
|
||||
buildInputs = [ nose ];
|
||||
pythonImportsCheck = [ "mistune" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The fastest markdown parser in pure Python";
|
||||
homepage = "https://github.com/lepture/mistune";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
12
pkgs/development/python-modules/mistune/default.nix
Normal file
12
pkgs/development/python-modules/mistune/default.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
self: rec {
|
||||
mistune_0_8 = self.callPackage ./common.nix {
|
||||
version = "0.8.4";
|
||||
sha256 = "59a3429db53c50b5c6bcc8a07f8848cb00d7dc8bdb431a4ab41920d201d4756e";
|
||||
};
|
||||
mistune_2_0 = self.callPackage ./common.nix {
|
||||
version = "2.0.2";
|
||||
sha256 = "sha256-b8iMPLSduosWaHtBcl5mHPhXhMEuiXSim50zbdWWw6E=";
|
||||
format = "pyproject";
|
||||
};
|
||||
mistune = mistune_0_8;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue