windows.libgnurx: Clean up derivation
This commit is contained in:
parent
58513e37c7
commit
a5056195ce
@ -3,16 +3,13 @@
|
|||||||
stdenv,
|
stdenv,
|
||||||
fetchurl,
|
fetchurl,
|
||||||
}:
|
}:
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
let
|
|
||||||
version = "2.5.1";
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "libgnurx";
|
pname = "libgnurx";
|
||||||
inherit version;
|
version = "2.5.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/mingw/Other/UserContributed/regex/mingw-regex-${version}/mingw-${pname}-${version}-src.tar.gz";
|
url = "mirror://sourceforge/mingw/Other/UserContributed/regex/mingw-regex-${finalAttrs.version}/mingw-libgnurx-${finalAttrs.version}-src.tar.gz";
|
||||||
sha256 = "0xjxcxgws3bblybw5zsp9a4naz2v5bs1k3mk8dw00ggc0vwbfivi";
|
hash = "sha256-cUe3+AbsPQB4Q7OOGfQqW3xliUpX/8KXp2sNzV9nXXY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# file looks for libgnurx.a when compiling statically
|
# file looks for libgnurx.a when compiling statically
|
||||||
@ -27,4 +24,4 @@ stdenv.mkDerivation rec {
|
|||||||
platforms = lib.platforms.windows;
|
platforms = lib.platforms.windows;
|
||||||
teams = [ lib.teams.windows ];
|
teams = [ lib.teams.windows ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user