Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, lib, fetchFromGitHub, meson, ninja, pkg-config, libseccomp }: 2 3stdenv.mkDerivation rec { 4 pname = "unstick"; 5 version = "0.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "kwohlfahrt"; 9 repo = "unstick"; 10 rev = "effee9aa242ca12dc94cc6e96bc073f4cc9e8657"; 11 sha256 = "08la3jmmzlf4pm48bf9zx4cqj9gbqalpqy0s57bh5vfsdk74nnhv"; 12 }; 13 14 sourceRoot = "source/src"; 15 16 nativeBuildInputs = [ meson ninja pkg-config ]; 17 buildInputs = [ libseccomp ]; 18 19 meta = { 20 homepage = "https://github.com/kwohlfahrt/unstick"; 21 description = "Silently eats chmod commands forbidden by Nix"; 22 license = lib.licenses.gpl3; 23 platforms = lib.platforms.linux; 24 maintainers = with lib.maintainers; [ kwohlfahrt ]; 25 }; 26}