mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
37 lines
909 B
Nix
37 lines
909 B
Nix
{ lib, stdenv, fetchFromGitHub, connman, dmenu }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "connman_dmenu";
|
|
version = "unstable-2015-09-29";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "march-linux";
|
|
repo = "connman_dmenu";
|
|
rev = "cc89fec40b574b0d234afeb70ea3c94626ca3f5c";
|
|
hash = "sha256-05MjFg+8rliYIAdOOHmP7DQhOTeYn5ZoCpZEdQeKLhg=";
|
|
};
|
|
|
|
buildInputs = [ connman dmenu ];
|
|
|
|
dontBuild = true;
|
|
|
|
# remove root requirement, see: https://github.com/march-linux/connman_dmenu/issues/3
|
|
postPatch = ''
|
|
sed -i '89,92d' connman_dmenu
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp connman_dmenu $out/bin/
|
|
'';
|
|
|
|
meta = {
|
|
description = "Dmenu wrapper for connmann";
|
|
mainProgram = "connman_dmenu";
|
|
homepage = "https://github.com/march-linux/connman_dmenu";
|
|
license = lib.licenses.free;
|
|
maintainers = [ lib.maintainers.magnetophon ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|