pythonPackages.multi_key_dict: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 12:48:05 -04:00 committed by Frederik Rietdijk
parent 0adcbd7289
commit 1543d06a67
2 changed files with 22 additions and 15 deletions

View File

@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "multi_key_dict";
version = "2.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "17lkx4rf4waglwbhc31aak0f28c63zl3gx5k5i1iq2m3gb0xxsyy";
};
meta = with stdenv.lib; {
description = "multi_key_dict";
homepage = "https://github.com/formiaczek/multi_key_dict";
license = licenses.mit;
};
}

View File

@ -2165,21 +2165,7 @@ in {
py3status = callPackage ../development/python-modules/py3status {};
multi_key_dict = buildPythonPackage rec {
name = "multi_key_dict-${version}";
version = "2.0.3";
src = pkgs.fetchurl {
url = "mirror://pypi/m/multi_key_dict/multi_key_dict-${version}.tar.gz";
sha256 = "17lkx4rf4waglwbhc31aak0f28c63zl3gx5k5i1iq2m3gb0xxsyy";
};
meta = with stdenv.lib; {
description = "multi_key_dict";
homepage = "https://github.com/formiaczek/multi_key_dict";
};
};
multi_key_dict = callPackage ../development/python-modules/multi_key_dict { };
pyrtlsdr = callPackage ../development/python-modules/pyrtlsdr { };