pythonPackages.bitbucket-cli: Move to own file
This commit is contained in:
parent
9ae3047c2f
commit
03fa93875c
23
pkgs/development/python-modules/bitbucket-cli/default.nix
Normal file
23
pkgs/development/python-modules/bitbucket-cli/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, requests }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bitbucket-cli";
|
||||
version = "0.5.1";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1xmn73x6jirnwfwcdy380ncmkai9f9dhmld6zin01ypbqwgf50fq";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
# No tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Bitbucket command line interface";
|
||||
homepage = https://bitbucket.org/zhemao/bitbucket-cli;
|
||||
maintainers = with maintainers; [ refnil ];
|
||||
};
|
||||
}
|
@ -1242,27 +1242,7 @@ in {
|
||||
|
||||
bitbucket_api = callPackage ../development/python-modules/bitbucket-api { };
|
||||
|
||||
# Should be moved out of python-packages.nix
|
||||
bitbucket-cli = buildPythonPackage rec {
|
||||
name = "bitbucket-cli-0.5.1";
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/b/bitbucket-cli/${name}.tar.gz";
|
||||
sha256 = "d881e21ec7ebfa006cfca6d10a5b7229aa59990568f8c6b8e3364769fa38b6f6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ self.requests ];
|
||||
|
||||
# No tests
|
||||
doCheck = false;
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
meta = {
|
||||
description = "Bitbucket command line interface";
|
||||
homepage = "https://bitbucket.org/zhemao/bitbucket-cli";
|
||||
maintainers = with maintainers; [ refnil ];
|
||||
};
|
||||
};
|
||||
bitbucket-cli = callPackage ../development/python-modules/bitbucket-cli { };
|
||||
|
||||
bitstring = callPackage ../development/python-modules/bitstring { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user