1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

pythonPackages.i3-py: refactor move to python-packages

This commit is contained in:
Chris Ostrouchov 2018-10-15 23:42:16 -04:00 committed by Frederik Rietdijk
parent 05887b8eed
commit 2c986a700d
2 changed files with 26 additions and 19 deletions

View file

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
version = "0.6.4";
pname = "i3-py";
src = fetchPypi {
inherit pname version;
sha256 = "1sgl438jrb4cdyl7hbc3ymwsf7y3zy09g1gh7ynilxpllp37jc8y";
};
# no tests in tarball
doCheck = false;
meta = with stdenv.lib; {
description = "Tools for i3 users and developers";
homepage = "https://github.com/ziberna/i3-py";
license = licenses.gpl3;
platforms = platforms.linux;
};
}

View file

@ -1902,25 +1902,7 @@ in {
iniparse = callPackage ../development/python-modules/iniparse { };
i3-py = buildPythonPackage rec {
version = "0.6.4";
name = "i3-py-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/i/i3-py/i3-py-${version}.tar.gz";
sha256 = "1sgl438jrb4cdyl7hbc3ymwsf7y3zy09g1gh7ynilxpllp37jc8y";
};
# no tests in tarball
doCheck = false;
meta = {
description = "Tools for i3 users and developers";
homepage = "https://github.com/ziberna/i3-py";
license = licenses.gpl3;
platforms = platforms.linux;
};
};
i3-py = callPackage ../development/python-modules/i3-py { };
JayDeBeApi = callPackage ../development/python-modules/JayDeBeApi {};