about summary refs log tree commit diff
path: root/nixpkgs/pkgs/os-specific/linux/unstick/default.nix
blob: ee82679de4ea364b1e379e31bda2a126d16ad757 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, lib, fetchFromGitHub, meson, ninja, pkg-config, libseccomp }:

stdenv.mkDerivation rec {
  pname = "unstick";
  version = "0.1.0";

  src = fetchFromGitHub {
    owner = "kwohlfahrt";
    repo = "unstick";
    rev = "effee9aa242ca12dc94cc6e96bc073f4cc9e8657";
    sha256 = "08la3jmmzlf4pm48bf9zx4cqj9gbqalpqy0s57bh5vfsdk74nnhv";
  };

  sourceRoot = "${src.name}/src";

  nativeBuildInputs = [ meson ninja pkg-config ];
  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 ];
  };
}