nixpkgs-suyu/pkgs/tools/security/gnu-pw-mgr/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

20 lines
635 B
Nix

{ stdenv, lib, fetchurl, gnulib }:
stdenv.mkDerivation rec {
pname = "gnu-pw-mgr";
version = "2.4.2";
src = fetchurl {
url = "https://ftp.gnu.org/gnu/gnu-pw-mgr/${pname}-${version}.tar.xz";
sha256 = "1yvdzc5w37qrjrkby5699ygj9bhkvgi3zk9k9jcjry1j6b7wdl17";
};
buildInputs = [ gnulib ];
meta = with lib; {
homepage = https://www.gnu.org/software/gnu-pw-mgr/;
description = "A password manager designed to make it easy to reconstruct difficult passwords";
license = with licenses; [ gpl3Plus lgpl3Plus ];
platforms = stdenv.lib.platforms.linux;
maintainers = with maintainers; [ qoelet ];
};
}