depot/third_party/nixpkgs/pkgs/os-specific/linux/unstick/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

26 lines
719 B
Nix

{ stdenv, lib, fetchFromGitHub, meson, ninja, pkg-config, libseccomp }:
stdenv.mkDerivation rec {
name = "unstick";
version = "0.1.0";
src = fetchFromGitHub {
owner = "kwohlfahrt";
repo = name;
rev = "effee9aa242ca12dc94cc6e96bc073f4cc9e8657";
sha256 = "08la3jmmzlf4pm48bf9zx4cqj9gbqalpqy0s57bh5vfsdk74nnhv";
};
sourceRoot = "source/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 ];
};
}