pythonPackages: Move my libraries to python-modules
This commit is contained in:
24
pkgs/development/python-modules/keyutils/default.nix
Normal file
24
pkgs/development/python-modules/keyutils/default.nix
Normal file
@@ -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 ];
|
||||
};
|
||||
}
|
||||
23
pkgs/development/python-modules/raven/default.nix
Normal file
23
pkgs/development/python-modules/raven/default.nix
Normal file
@@ -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 ];
|
||||
};
|
||||
}
|
||||
22
pkgs/development/python-modules/zipstream/default.nix
Normal file
22
pkgs/development/python-modules/zipstream/default.nix
Normal file
@@ -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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user