mcpp: pname-ify

This commit is contained in:
Nikolay Amiantov 2019-09-06 19:09:02 +03:00
parent 089011e4f9
commit 50399b9546

View File

@ -1,10 +1,11 @@
{ stdenv, fetchurl }: { stdenv, fetchurl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "mcpp-2.7.2"; pname = "mcpp";
version = "2.7.2";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/mcpp/${name}.tar.gz"; url = "mirror://sourceforge/mcpp/mcpp-${version}.tar.gz";
sha256 = "0r48rfghjm90pkdyr4khxg783g9v98rdx2n69xn8f6c5i0hl96rv"; sha256 = "0r48rfghjm90pkdyr4khxg783g9v98rdx2n69xn8f6c5i0hl96rv";
}; };