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
32
pkgs/development/python-modules/ldappool/default.nix
Normal file
32
pkgs/development/python-modules/ldappool/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, pbr, ldap, prettytable, fixtures, testresources, testtools }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ldappool";
|
||||
version = "3.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "ldappool";
|
||||
inherit version;
|
||||
sha256 = "4bb59b7d6b11407f48ee01a781267e3c8ba98d91f426806ac7208612ae087b86";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Tests run without most of the dependencies
|
||||
echo "" > test-requirements.txt
|
||||
# PrettyTable is now maintained again
|
||||
substituteInPlace requirements.txt --replace "PrettyTable<0.8,>=0.7.2" "PrettyTable"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pbr ];
|
||||
|
||||
propagatedBuildInputs = [ ldap prettytable ];
|
||||
|
||||
checkInputs = [ fixtures testresources testtools ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple connector pool for python-ldap";
|
||||
homepage = "https://opendev.org/openstack/ldappool/";
|
||||
license = with licenses; [ mpl11 lgpl21Plus gpl2Plus ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue