python.pkgs.pyperclip: move expression

This commit is contained in:
Robert Schütz 2018-04-06 14:50:16 +02:00 committed by Frederik Rietdijk
parent 3c6d505281
commit 026f65273c
2 changed files with 21 additions and 17 deletions

View File

@ -0,0 +1,20 @@
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
version = "1.5.27";
pname = "pyperclip";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1i9zxm7qc49n9yxfb41c0jbmmp2hpzx98kaizjl7qmgiv3snvjx3";
};
doCheck = false;
meta = with lib; {
homepage = "https://github.com/asweigart/pyperclip";
license = licenses.bsdOriginal;
description = "Cross-platform clipboard module";
};
}

View File

@ -11873,23 +11873,7 @@ in {
};
};
pyperclip = buildPythonPackage rec {
version = "1.5.27";
name = "pyperclip-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pyperclip/${name}.zip";
sha256 = "1i9zxm7qc49n9yxfb41c0jbmmp2hpzx98kaizjl7qmgiv3snvjx3";
};
doCheck = false;
meta = {
homepage = "https://github.com/asweigart/pyperclip";
license = licenses.bsdOriginal;
description = "Cross-platform clipboard module";
};
};
pyperclip = callPackage ../development/python-modules/pyperclip { };
pysqlite = buildPythonPackage rec {
name = "pysqlite-2.8.3";