pythonPackages.bitbucket-cli: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 13:07:27 +02:00 committed by Frederik Rietdijk
parent 9ae3047c2f
commit 03fa93875c
2 changed files with 24 additions and 21 deletions

View 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 ];
};
}

View file

@ -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 { };