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
67
pkgs/development/python-modules/dulwich/default.nix
Normal file
67
pkgs/development/python-modules/dulwich/default.nix
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, certifi
|
||||
, fastimport
|
||||
, fetchPypi
|
||||
, gevent
|
||||
, geventhttpclient
|
||||
, git
|
||||
, glibcLocales
|
||||
, gpgme
|
||||
, mock
|
||||
, pkgs
|
||||
, urllib3
|
||||
, paramiko
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.20.42";
|
||||
pname = "dulwich";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-cro7YK5qVU0TMrO0CjRf6+FuxGnPYBS7RDtxmQLjPvA=";
|
||||
};
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
certifi
|
||||
urllib3
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
fastimport
|
||||
gevent
|
||||
geventhttpclient
|
||||
git
|
||||
glibcLocales
|
||||
gpgme
|
||||
pkgs.gnupg
|
||||
mock
|
||||
paramiko
|
||||
];
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"dulwich"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple Python implementation of the Git file formats and protocols";
|
||||
longDescription = ''
|
||||
Dulwich is a Python implementation of the Git file formats and protocols, which
|
||||
does not depend on Git itself. All functionality is available in pure Python.
|
||||
'';
|
||||
homepage = "https://www.dulwich.io/";
|
||||
changelog = "https://github.com/dulwich/dulwich/blob/dulwich-${version}/NEWS";
|
||||
license = with licenses; [ asl20 gpl2Plus ];
|
||||
maintainers = with maintainers; [ koral ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue