Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34589 from Ma27/package-pybase64
pythonPackages.pybase64: init at 0.2.1
- Loading branch information
Showing
4 changed files
with
62 additions
and
20 deletions.
There are no files selected for viewing
22 changes: 3 additions & 19 deletions
22
pkgs/development/python-modules/nose-parameterized/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,11 @@ | ||
{ stdenv, fetchPypi, buildPythonPackage, nose, six, glibcLocales, isPy3k }: | ||
{ fetchPypi, parameterized }: | ||
|
||
buildPythonPackage rec { | ||
parameterized.overrideAttrs (o: rec { | ||
pname = "nose-parameterized"; | ||
version = "0.6.0"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "1khlabgib4161vn6alxsjaa8javriywgx9vydddi659gp9x6fpnk"; | ||
}; | ||
|
||
# Tests require some python3-isms but code works without. | ||
doCheck = isPy3k; | ||
|
||
buildInputs = [ nose glibcLocales ]; | ||
propagatedBuildInputs = [ six ]; | ||
|
||
checkPhase = '' | ||
LC_ALL="en_US.UTF-8" nosetests -v | ||
''; | ||
|
||
meta = with stdenv.lib; { | ||
description = "Parameterized testing with any Python test framework"; | ||
homepage = https://pypi.python.org/pypi/nose-parameterized; | ||
license = licenses.bsd3; | ||
}; | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ stdenv, fetchPypi, buildPythonPackage, nose, six, glibcLocales, isPy3k }: | ||
|
||
buildPythonPackage rec { | ||
pname = "parameterized"; | ||
version = "0.6.1"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "1qj1939shm48d9ql6fm1nrdy4p7sdyj8clz1szh5swwpf1qqxxfa"; | ||
}; | ||
|
||
# Tests require some python3-isms but code works without. | ||
doCheck = isPy3k; | ||
|
||
checkInputs = [ nose glibcLocales ]; | ||
propagatedBuildInputs = [ six ]; | ||
|
||
checkPhase = '' | ||
LC_ALL="en_US.UTF-8" nosetests -v | ||
''; | ||
|
||
meta = with stdenv.lib; { | ||
description = "Parameterized testing with any Python test framework"; | ||
homepage = https://pypi.python.org/pypi/parameterized; | ||
license = licenses.bsd3; | ||
maintainers = with maintainers; [ ma27 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ buildPythonPackage, stdenv, fetchPypi, parameterized, six, nose }: | ||
|
||
buildPythonPackage rec { | ||
pname = "pybase64"; | ||
version = "0.2.1"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "1hggg69s5r8jyqdwyzri5sn3f19p7ayl0fjhjma0qzgfp7bk6zjc"; | ||
}; | ||
|
||
propagatedBuildInputs = [ six ]; | ||
checkInputs = [ parameterized nose ]; | ||
|
||
checkPhase = '' | ||
nosetests | ||
''; | ||
|
||
meta = with stdenv.lib; { | ||
homepage = https://pypi.python.org/pypi/pybase64; | ||
description = "Fast Base64 encoding/decoding"; | ||
license = licenses.bsd2; | ||
maintainers = with maintainers; [ ma27 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters