python.pkgs.whichcraft: move expression
This commit is contained in:
parent
6713108307
commit
991a60e186
19
pkgs/development/python-modules/whichcraft/default.nix
Normal file
19
pkgs/development/python-modules/whichcraft/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
@ -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}";
|
||||||
|
Loading…
Reference in New Issue
Block a user