mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 09:02:46 +00:00
python.pkgs.pyperclip: move expression
This commit is contained in:
parent
3c6d505281
commit
026f65273c
20
pkgs/development/python-modules/pyperclip/default.nix
Normal file
20
pkgs/development/python-modules/pyperclip/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue