3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.bcdoc: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 12:03:55 +02:00 committed by Frederik Rietdijk
parent fd15953272
commit 5fe48723fa
2 changed files with 23 additions and 19 deletions

View file

@ -0,0 +1,22 @@
{ stdenv, buildPythonPackage, fetchPypi, docutils, six }:
buildPythonPackage rec {
pname = "bcdoc";
version = "0.14.0";
src = fetchPypi {
inherit pname version;
sha256 = "1s2kdqs1n2mj7wq3w0pq30zs7vxq0l3abik2clqnc4hm2j7crbk8";
};
buildInputs = [ docutils six ];
# Tests fail due to nix file timestamp normalization.
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/botocore/bcdoc;
license = licenses.asl20;
description = "ReST document generation tools for botocore";
};
}

View file

@ -923,25 +923,7 @@ in {
batinfo = callPackage ../development/python-modules/batinfo {};
bcdoc = buildPythonPackage rec {
name = "bcdoc-0.14.0";
src = pkgs.fetchurl {
url = "mirror://pypi/b/bcdoc/${name}.tar.gz";
sha256 = "1s2kdqs1n2mj7wq3w0pq30zs7vxq0l3abik2clqnc4hm2j7crbk8";
};
buildInputs = with self; [ docutils six ];
# Tests fail due to nix file timestamp normalization.
doCheck = false;
meta = {
homepage = https://github.com/botocore/bcdoc;
license = licenses.asl20;
description = "ReST document generation tools for botocore";
};
};
bcdoc = callPackage ../development/python-modules/bcdoc {};
beautifulsoup4 = callPackage ../development/python-modules/beautifulsoup4 { };