mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
Add setuptools_scm package
This commit is contained in:
parent
0243472c05
commit
3b00ee2228
1 changed files with 23 additions and 0 deletions
|
@ -11485,6 +11485,29 @@ let
|
|||
'';
|
||||
};
|
||||
|
||||
setuptools_scm = buildPythonPackage rec {
|
||||
name = "setuptools_scm-${version}";
|
||||
version = "1.5.4";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://bitbucket.org/pypa/setuptools_scm/get/v${version}.tar.bz2";
|
||||
sha256 = "0vd6xsl7r0vn5gpw87d31s195j33sqw5c26zdagimy9qzydgq6y6";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ pip ];
|
||||
|
||||
preBuild = ''
|
||||
${python.interpreter} setup.py egg_info
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://bitbucket.org/pypa/setuptools_scm/;
|
||||
description = "Handles managing your python package versions in scm metadata";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jgeerds ];
|
||||
};
|
||||
};
|
||||
|
||||
setuptoolsDarcs = buildPythonPackage {
|
||||
name = "setuptools-darcs-1.2.9";
|
||||
|
||||
|
|
Loading…
Reference in a new issue