popt: use upstream source; add homepage; adopt

This commit is contained in:
Alyssa Ross 2021-06-10 20:37:43 +00:00
parent 302c9a0637
commit 22eec5cccc

View file

@ -1,11 +1,11 @@
{lib, stdenv, fetchurl}: { lib, stdenv, fetchurl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "popt"; pname = "popt";
version = "1.18"; version = "1.18";
src = fetchurl { src = fetchurl {
url = "mirror://debian/pool/main/p/popt/popt_${version}.orig.tar.gz"; url = "https://ftp.osuosl.org/pub/rpm/popt/releases/popt-1.x/popt-${version}.tar.gz";
sha256 = "1lf5zlj5rbg6s4bww7hbhpca97prgprnarx978vcwa0bl81vqnai"; sha256 = "1lf5zlj5rbg6s4bww7hbhpca97prgprnarx978vcwa0bl81vqnai";
}; };
@ -17,8 +17,10 @@ stdenv.mkDerivation rec {
doCheck = false; # fails doCheck = false; # fails
meta = with lib; { meta = with lib; {
homepage = "https://github.com/rpm-software-management/popt";
description = "Command line option parsing library"; description = "Command line option parsing library";
platforms = platforms.unix; maintainers = with maintainers; [ qyliss ];
license = licenses.mit; license = licenses.mit;
platforms = platforms.unix;
}; };
} }