mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
21 lines
475 B
Nix
21 lines
475 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy3k }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "affinity";
|
|
version = "0.1.0";
|
|
|
|
# syntax error
|
|
disabled = isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1i6j7kszvnzh5vh9k48cqwx2kzf73a6abgv9s6bf0j2zmfjl2wb6";
|
|
};
|
|
|
|
meta = {
|
|
description = "control processor affinity on windows and linux";
|
|
homepage = http://cheeseshop.python.org/pypi/affinity;
|
|
license = with lib.licenses; [ psfl ];
|
|
};
|
|
}
|