depot/pkgs/os-specific/linux/unstick/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

27 lines
759 B
Nix

{ 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";
mainProgram = "unstick";
license = lib.licenses.gpl3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ kwohlfahrt ];
};
}