2021-01-19 06:50:56 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, meson, ninja, pkg-config, libseccomp }:
|
2019-12-13 13:40:05 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-01-10 22:30:11 +00:00
|
|
|
pname = "unstick";
|
2019-12-13 13:40:05 +00:00
|
|
|
version = "0.1.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kwohlfahrt";
|
2022-01-10 22:30:11 +00:00
|
|
|
repo = "unstick";
|
2019-12-13 13:40:05 +00:00
|
|
|
rev = "effee9aa242ca12dc94cc6e96bc073f4cc9e8657";
|
|
|
|
sha256 = "08la3jmmzlf4pm48bf9zx4cqj9gbqalpqy0s57bh5vfsdk74nnhv";
|
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = "source/src";
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
2019-12-13 13:40:05 +00:00
|
|
|
buildInputs = [ libseccomp ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/kwohlfahrt/unstick";
|
|
|
|
description = "Silently eats chmod commands forbidden by Nix";
|
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ kwohlfahrt ];
|
|
|
|
};
|
|
|
|
}
|