python.pkgs.whichcraft: move expression

This commit is contained in:
Robert Schütz 2018-04-06 13:34:03 +02:00 committed by Frederik Rietdijk
parent 6713108307
commit 991a60e186
2 changed files with 20 additions and 19 deletions

View File

@ -0,0 +1,19 @@
{ lib, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "whichcraft";
version = "0.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "5df20674e0a90028b5633417510f0001b63bc0f345ab3cbb184dd4b221d125ec";
};
checkInputs = [ pytest ];
meta = with lib; {
homepage = https://github.com/pydanny/whichcraft;
description = "Cross-platform cross-python shutil.which functionality";
license = licenses.bsd3;
};
}

View File

@ -16049,25 +16049,7 @@ EOF
}; };
}; };
whichcraft = callPackage ../development/python-modules/whichcraft { };
whichcraft = buildPythonPackage rec {
name = "whichcraft-${version}";
version = "0.1.1";
src = pkgs.fetchurl {
url = "https://github.com/pydanny/whichcraft/archive/${version}.tar.gz";
sha256 = "1xqp66knzlb01k30qic40vzwl51jmlsb8r96iv60m2ca6623abbv";
};
buildInputs = with self; [ pytest ];
meta = {
homepage = https://github.com/pydanny/whichcraft;
description = "Cross-platform cross-python shutil.which functionality";
license = licenses.bsd3;
};
};
whisper = buildPythonPackage rec { whisper = buildPythonPackage rec {
name = "whisper-${version}"; name = "whisper-${version}";