Merge pull request #29072 from FRidh/python-fixes-3
Python: several fixes (3)
This commit is contained in:
@@ -34,6 +34,7 @@ let
|
||||
bootstrapped-pip = callPackage ../development/python-modules/bootstrapped-pip { };
|
||||
|
||||
mkPythonDerivation = makeOverridable( callPackage ../development/interpreters/python/mk-python-derivation.nix {
|
||||
distutils-cfg = callPackage ../development/python-modules/distutils-cfg { };
|
||||
});
|
||||
|
||||
# Derivations built with `buildPythonPackage` can already be overriden with `override`, `overrideAttrs`, and `overrideDerivation`.
|
||||
@@ -7018,27 +7019,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
logfury = buildPythonPackage rec {
|
||||
name = "logfury-${version}";
|
||||
version = "0.1.2";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/l/logfury/${name}.tar.gz";
|
||||
sha256 = "1lywirv3d1lw691mc4mfpz7ak6r49klri43bbfgdnvsfppxminj2";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ self.funcsigs
|
||||
self.six
|
||||
];
|
||||
|
||||
meta = with pkgs.stdenv.lib; {
|
||||
description = "Logfury is for python library maintainers. It allows for responsible, low-boilerplate logging of method calls.";
|
||||
homepage = "https://github.com/ppolewicz/logfury";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ jwiegley ];
|
||||
};
|
||||
};
|
||||
logfury = callPackage ../development/python-modules/logfury { };
|
||||
|
||||
ndg-httpsclient = buildPythonPackage rec {
|
||||
version = "0.4.2";
|
||||
@@ -15768,22 +15749,7 @@ in {
|
||||
|
||||
pbr = callPackage ../development/python-modules/pbr { };
|
||||
|
||||
fixtures = buildPythonPackage rec {
|
||||
name = "fixtures-1.4.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/f/fixtures/${name}.tar.gz";
|
||||
sha256 = "0djxvdwm8s60dbfn7bhf40x6g818p3b3mlwijm1c3bqg7msn271y";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ pbr testtools mock ];
|
||||
|
||||
meta = {
|
||||
description = "Reusable state for writing clean tests and more";
|
||||
homepage = "https://pypi.python.org/pypi/fixtures";
|
||||
license = licenses.asl20;
|
||||
};
|
||||
};
|
||||
fixtures = callPackage ../development/python-modules/fixtures { };
|
||||
|
||||
pelican = callPackage ../development/python-modules/pelican {
|
||||
inherit (pkgs) glibcLocales pandoc git;
|
||||
@@ -19147,31 +19113,7 @@ in {
|
||||
};
|
||||
|
||||
|
||||
restview = buildPythonPackage rec {
|
||||
name = "restview-${version}";
|
||||
version = "2.5.2";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/r/restview/${name}.tar.gz";
|
||||
sha256 = "0gmdmnlhiy6lagi17maiz312374hk6g6x90fhjwnbrwxif4r9bd5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ docutils readme pygments ];
|
||||
buildInputs = with self; [ mock ];
|
||||
|
||||
patchPhase = ''
|
||||
# dict order breaking tests
|
||||
sed -i 's@<a href="http://www.example.com" rel="nofollow">@...@' src/restview/tests.py
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "ReStructuredText viewer";
|
||||
homepage = http://mg.pov.lt/restview/;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ koral ];
|
||||
};
|
||||
};
|
||||
restview = callPackage ../development/python-modules/restview { };
|
||||
|
||||
readme = buildPythonPackage rec {
|
||||
name = "readme-${version}";
|
||||
@@ -19200,6 +19142,8 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
readme_renderer = callPackage ../development/python-modules/readme_renderer { };
|
||||
|
||||
rjsmin = callPackage ../development/python-modules/rjsmin { };
|
||||
|
||||
pysolr = buildPythonPackage rec {
|
||||
@@ -19286,27 +19230,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
django-multiselectfield = buildPythonPackage rec {
|
||||
name = "django-multiselectfield-${version}";
|
||||
version = "0.1.3";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/d/django-multiselectfield/django-multiselectfield-${version}.tar.gz";
|
||||
sha256 = "0v7wf82f8688srdsym9ajv1j54bxfxwvydypc03f8xyl4c1raziv";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
|
||||
];
|
||||
buildInputs = with self; [
|
||||
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "django-multiselectfield";
|
||||
homepage = "https://github.com/goinnn/django-multiselectfield";
|
||||
};
|
||||
};
|
||||
django-multiselectfield = callPackage ../development/python-modules/django-multiselectfield { };
|
||||
|
||||
reviewboard = buildPythonPackage rec {
|
||||
name = "ReviewBoard-2.5.1.1";
|
||||
|
||||
Reference in New Issue
Block a user