nixpkgs/pkgs/development/libraries/tre/default.nix
Silvan Mosberger 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00

21 lines
502 B
Nix

{stdenv, fetchurl, fetchpatch}:
stdenv.mkDerivation rec {
name = "tre-0.8.0";
src = fetchurl {
url = "https://laurikari.net/tre/${name}.tar.gz";
sha256 = "1pd7qsa7vc3ybdc6h2gr4pm9inypjysf92kab945gg4qa6jp11my";
};
patches = [
(fetchpatch {
url = https://sources.debian.net/data/main/t/tre/0.8.0-6/debian/patches/03-cve-2016-8859;
sha256 = "0navhizym6qxd4gngrsslbij8x9r3s67p1jzzhvsnq6ky49j7w3p";
})
];
meta = {
platforms = stdenv.lib.platforms.unix;
};
}