mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 21:14:52 +00:00

nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
22 lines
629 B
Nix
22 lines
629 B
Nix
{lib, stdenv, fetchurl} :
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rxp";
|
|
version = "1.5.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://debian/pool/main/r/rxp/rxp_${version}.orig.tar.gz";
|
|
sha256 = "0y365r36wzj4xn1dzhb03spxljnrx8vwqbiwnnwz4630129gzpm6";
|
|
};
|
|
|
|
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=implicit-function-declaration -Wno-error=int-conversion";
|
|
|
|
meta = {
|
|
license = lib.licenses.gpl2Plus;
|
|
description = "Validating XML parser written in C";
|
|
homepage = "https://www.cogsci.ed.ac.uk/~richard/rxp.html";
|
|
platforms = lib.platforms.unix;
|
|
mainProgram = "rxp";
|
|
};
|
|
}
|