depot/third_party/nixpkgs/pkgs/tools/misc/sutils/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
661 B
Nix

{ stdenv, fetchFromGitHub, alsaLib }:
stdenv.mkDerivation rec {
version = "0.2";
pname = "sutils";
src = fetchFromGitHub {
owner = "baskerville";
repo = "sutils";
rev = version;
sha256 = "0i2g6a6xdaq3w613dhq7mnsz4ymwqn6kvkyan5kgy49mzq97va6j";
};
hardeningDisable = [ "format" ];
buildInputs = [ alsaLib ];
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
meta = {
description = "Small command-line utilities";
homepage = "https://github.com/baskerville/sutils";
maintainers = [ stdenv.lib.maintainers.meisternu ];
license = "Custom";
platforms = stdenv.lib.platforms.linux;
};
}