freepats: replace name with pname&version

This commit is contained in:
Felix Buehler 2022-03-22 14:05:43 +01:00
parent e452d308f5
commit 6d5605afcd

View File

@ -1,10 +1,11 @@
{ lib, stdenv, fetchurl }: { lib, stdenv, fetchurl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "freepats-20060219"; pname = "freepats";
version = "20060219";
src = fetchurl { src = fetchurl {
url = "https://freepats.zenvoid.org/${name}.tar.bz2"; url = "https://freepats.zenvoid.org/freepats-${version}.tar.bz2";
sha256 = "12iw36rd94zirll96cd5k0va7p5hxmf2shvjlhzihcmjaw8flq82"; sha256 = "12iw36rd94zirll96cd5k0va7p5hxmf2shvjlhzihcmjaw8flq82";
}; };