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
51
pkgs/development/python-modules/twine/default.nix
Normal file
51
pkgs/development/python-modules/twine/default.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, importlib-metadata
|
||||
, keyring
|
||||
, pkginfo
|
||||
, readme_renderer
|
||||
, requests
|
||||
, requests-toolbelt
|
||||
, rich
|
||||
, rfc3986
|
||||
, setuptools-scm
|
||||
, urllib3
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "twine";
|
||||
version = "4.0.0";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-gXqgwL3AKl6+MgUeFo4jxxoGCDNOYkx5MBHxINu8Bbc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
importlib-metadata
|
||||
keyring
|
||||
pkginfo
|
||||
readme_renderer
|
||||
requests
|
||||
requests-toolbelt
|
||||
rfc3986
|
||||
rich
|
||||
urllib3
|
||||
];
|
||||
|
||||
# Requires network
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Collection of utilities for interacting with PyPI";
|
||||
homepage = "https://github.com/pypa/twine";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fridh ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue