nixpkgs-suyu/pkgs/os-specific/windows/libgnurx/default.nix
Matthew Bauer f32e9a34c8 windows: add more meta
‘platforms.windows’ includes all windows platforms. Should prefer this
to using assertions.
2018-08-10 11:51:18 -04:00

15 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;
};
}