commit
065c05e849
22
pkgs/development/python-modules/first/default.nix
Normal file
22
pkgs/development/python-modules/first/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
let
|
||||
pname = "first";
|
||||
version = "2.0.1";
|
||||
in
|
||||
buildPythonPackage {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0pn9hl2y0pz61la1xhkdz6vl9i2dg3nh0ksizcf0f9ybh8sxxcrv";
|
||||
};
|
||||
|
||||
doCheck = false; # no tests
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "The function you always missed in Python";
|
||||
homepage = https://github.com/hynek/first/;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ zimbatm ];
|
||||
};
|
||||
}
|
29
pkgs/development/python-modules/pip-tools/default.nix
Normal file
29
pkgs/development/python-modules/pip-tools/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ stdenv, fetchFromGitHub, buildPythonPackage, pip, pytest, click, six, first, glibcLocales }:
|
||||
buildPythonPackage rec {
|
||||
pname = "pip-tools";
|
||||
version = "1.8.1rc3";
|
||||
name = "pip-tools-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jazzband";
|
||||
repo = "pip-tools";
|
||||
rev = version;
|
||||
sha256 = "09rbgzj71bfp1x1jfr1zx3vax4qjbw5l6vcd3fqvshsdvg9lcnpx";
|
||||
};
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
buildInputs = [ pytest glibcLocales ];
|
||||
propagatedBuildInputs = [ pip click six first ];
|
||||
|
||||
checkPhase = ''
|
||||
export HOME=$(mktemp -d)
|
||||
py.test -k "not test_realistic_complex_sub_dependencies" # requires network
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Keeps your pinned dependencies fresh";
|
||||
homepage = https://github.com/jazzband/pip-tools/;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ zimbatm ];
|
||||
};
|
||||
}
|
@ -18880,6 +18880,10 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
pip-tools = callPackage ../development/python-modules/pip-tools {
|
||||
glibcLocales = pkgs.glibcLocales;
|
||||
};
|
||||
|
||||
pika = buildPythonPackage rec {
|
||||
name = "pika-${version}";
|
||||
version = "0.10.0";
|
||||
@ -29064,6 +29068,8 @@ EOF
|
||||
};
|
||||
};
|
||||
|
||||
first = callPackage ../development/python-modules/first {};
|
||||
|
||||
flaskbabel = buildPythonPackage rec {
|
||||
name = "Flask-Babel-0.11.1";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user