mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 03:43:53 +03:00
PolyML expression: Factorize version number in a separate variable
This commit is contained in:
parent
aa8f36e238
commit
e9e2e8ace6
@ -1,10 +1,14 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
let
|
||||
version = "5.5.1";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "polyml-5.5.1";
|
||||
name = "polyml-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/polyml/polyml.5.5.1.tar.gz";
|
||||
url = "mirror://sourceforge/polyml/polyml.${version}.tar.gz";
|
||||
sha256 = "16i0ir5mydl7381aijihkll19khp3z8dq0g2ja6k0pcbpkd0k06g";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user