mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
f32e9a34c8
‘platforms.windows’ includes all windows platforms. Should prefer this to using assertions.
16 lines
383 B
Nix
16 lines
383 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
let
|
|
version = "2.5.1";
|
|
in stdenv.mkDerivation rec {
|
|
name = "libgnurx-${version}";
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/mingw/Other/UserContributed/regex/mingw-regex-${version}/mingw-${name}-src.tar.gz";
|
|
sha256 = "0xjxcxgws3bblybw5zsp9a4naz2v5bs1k3mk8dw00ggc0vwbfivi";
|
|
};
|
|
|
|
meta = {
|
|
platforms = stdenv.lib.platforms.windows;
|
|
};
|
|
}
|