Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, pkg-config }: 2stdenv.mkDerivation rec { 3 pname = "boolstuff"; 4 version = "0.1.17"; 5 6 src = fetchurl { 7 url = "http://perso.b2b2c.ca/~sarrazip/dev/${pname}-${version}.tar.gz"; 8 hash = "sha256-WPFUoTUofigPxTRo6vUbVTEVWMeEPDWszCA05toOX0I="; 9 }; 10 11 nativeBuildInputs = [ pkg-config ]; 12 13 meta = { 14 description = "Library for operations on boolean expression binary trees"; 15 homepage = "http://perso.b2b2c.ca/~sarrazip/dev/boolstuff.html"; 16 license = "GPL"; 17 maintainers = [ lib.maintainers.marcweber ]; 18 mainProgram = "booldnf"; 19 platforms = lib.platforms.all; 20 }; 21}