db: use pname and version instead of name
This commit is contained in:
parent
9c7bea23cb
commit
9e0c1bce40
|
@ -11,10 +11,11 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (rec {
|
stdenv.mkDerivation (rec {
|
||||||
name = "db-${version}";
|
pname = "db";
|
||||||
|
inherit version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.oracle.com/berkeley-db/${name}.tar.gz";
|
url = "https://download.oracle.com/berkeley-db/${pname}-${version}.tar.gz";
|
||||||
sha256 = sha256;
|
sha256 = sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue