Skip to content

Commit

Permalink
pythonPackages.keyutils: init at 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
primeos committed Sep 25, 2017
1 parent d757d81 commit b8915eb
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -10859,6 +10859,28 @@ in {

keyring = callPackage ../development/python-modules/keyring { };

keyutils = buildPythonPackage rec {
name = "${pname}-${version}";
pname = "keyutils";
version = "0.5";

src = pkgs.fetchurl {
url = "mirror://pypi/k/${pname}/${name}.tar.gz";
sha256 = "0dskys71vkn59vlsfs1ljli0qnzk7b10iv4pawxawnk2hvyjrf10";
};

buildInputs = with self; [ pkgs.keyutils pytestrunner ];

doCheck = false;

meta = {
description = "A set of python bindings for keyutils";
homepage = https://github.com/sassoftware/python-keyutils;
license = licenses.asl20;
maintainers = with maintainers; [ primeos ];
};
};

klaus = buildPythonPackage rec {
version = "0.9.1";
name = "klaus-${version}";
Expand Down

2 comments on commit b8915eb

@copumpkin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For future reference, I think @FRidh and other python folks are trying to shrink python-packages.nix and encourage folks to put new packages into their own files under python-modules.

@primeos
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copumpkin Thanks, I actually checked the manual as I remembered there was something, but somehow missed the relevant sentence:

The preferred location for library expressions is in pkgs/development/python-modules.

I'll remember it for the next time and move my existing packages at some point.

Please sign in to comment.