Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythonPackages: Move my libraries to python-modules
- Loading branch information
Showing
4 changed files
with
72 additions
and
58 deletions.
There are no files selected for viewing
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,24 @@ | ||
{ lib, buildPythonPackage, fetchurl, pkgs, pytestrunner }: | ||
|
||
let | ||
pname = "keyutils"; | ||
version = "0.5"; | ||
in buildPythonPackage rec { | ||
name = "${pname}-${version}"; | ||
|
||
src = fetchurl { | ||
url = "mirror://pypi/k/${pname}/${name}.tar.gz"; | ||
sha256 = "0dskys71vkn59vlsfs1ljli0qnzk7b10iv4pawxawnk2hvyjrf10"; | ||
}; | ||
|
||
buildInputs = [ pkgs.keyutils pytestrunner ]; | ||
|
||
doCheck = false; | ||
|
||
meta = { | ||
description = "A set of python bindings for keyutils"; | ||
homepage = https://github.com/sassoftware/python-keyutils; | ||
license = lib.licenses.asl20; | ||
maintainers = with lib.maintainers; [ primeos ]; | ||
}; | ||
} |
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,23 @@ | ||
{ lib, buildPythonPackage, fetchurl, isPy3k, contextlib2 }: | ||
|
||
buildPythonPackage rec { | ||
name = "raven-6.3.0"; | ||
|
||
src = fetchurl { | ||
url = "mirror://pypi/r/raven/${name}.tar.gz"; | ||
sha256 = "1wgddbd092vih6k6mknp68vvm1pp12fikjqzglw6mnyw8njnbr7k"; | ||
}; | ||
|
||
# way too many dependencies to run tests | ||
# see https://github.com/getsentry/raven-python/blob/master/setup.py | ||
doCheck = false; | ||
|
||
propagatedBuildInputs = lib.optionals (!isPy3k) [ contextlib2 ]; | ||
|
||
meta = { | ||
description = "A Python client for Sentry (getsentry.com)"; | ||
homepage = https://github.com/getsentry/raven-python; | ||
license = [ lib.licenses.bsd3 ]; | ||
maintainers = with lib.maintainers; [ primeos ]; | ||
}; | ||
} |
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,22 @@ | ||
{ lib, buildPythonPackage, fetchurl, nose }: | ||
|
||
let | ||
pname = "zipstream"; | ||
version = "1.1.4"; | ||
in buildPythonPackage rec { | ||
name = "${pname}-${version}"; | ||
|
||
src = fetchurl { | ||
url = "mirror://pypi/z/${pname}/${name}.tar.gz"; | ||
sha256 = "01im5anqdyggmwkigqcjg0qw2a5bnn84h33mfaqjjd69a28lpwif"; | ||
}; | ||
|
||
buildInputs = [ nose ]; | ||
|
||
meta = { | ||
description = "A zip archive generator"; | ||
homepage = https://github.com/allanlei/python-zipstream; | ||
license = lib.licenses.gpl3Plus; | ||
maintainers = with lib.maintainers; [ primeos ]; | ||
}; | ||
} |
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