mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
ced21f5e1a
The `buildPython*` function computes name from `pname` and `version`. This change removes `name` attribute from all expressions in `pkgs/development/python-modules`. While at it, some other minor changes were made as well, such as replacing `fetchurl` calls with `fetchPypi`.
26 lines
663 B
Nix
26 lines
663 B
Nix
{ stdenv, buildPythonPackage, fetchurl, isPyPy
|
|
, gpgme }:
|
|
|
|
buildPythonPackage rec {
|
|
version = "0.3";
|
|
pname = "pygpgme";
|
|
disabled = isPyPy;
|
|
|
|
src = fetchurl {
|
|
url = "https://launchpad.net/pygpgme/trunk/${version}/+download/${pname}-${version}.tar.gz";
|
|
sha256 = "5fd887c407015296a8fd3f4b867fe0fcca3179de97ccde90449853a3dfb802e1";
|
|
};
|
|
|
|
# error: invalid command 'test'
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [ gpgme ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://launchpad.net/pygpgme";
|
|
description = "A Python wrapper for the GPGME library";
|
|
license = licenses.lgpl21;
|
|
maintainers = with maintainers; [ garbas ];
|
|
};
|
|
}
|