sxmo-utils: init at 1.13.0
thanks to noneucat for sharing their own packaging of sxmo on nix
This commit is contained in:
36
pkgs/additional/sxmo-utils/default.nix
Normal file
36
pkgs/additional/sxmo-utils/default.nix
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchgit
|
||||||
|
, gitUpdater
|
||||||
|
, lib
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "sxmo-utils";
|
||||||
|
version = "1.13.0";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://git.sr.ht/~mil/sxmo-utils";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-HNkajPC/spozxRlaP0iMWvOAfriRjl2wo1wdcbVCrkU=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i 's@/usr/lib/udev/rules\.d@/etc/udev/rules.d@' Makefile
|
||||||
|
'';
|
||||||
|
|
||||||
|
installFlags = [
|
||||||
|
"OPENRC=0"
|
||||||
|
"DESTDIR=$(out)"
|
||||||
|
"PREFIX="
|
||||||
|
];
|
||||||
|
|
||||||
|
passthru.updateScript = gitUpdater { };
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://git.sr.ht/~mil/sxmo-utils";
|
||||||
|
description = "Contains the scripts and small C programs that glues the sxmo enviroment together";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ colinsane ];
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@@ -24,6 +24,7 @@ let
|
|||||||
sane-scripts = callPackage ./additional/sane-scripts { };
|
sane-scripts = callPackage ./additional/sane-scripts { };
|
||||||
static-nix-shell = callPackage ./additional/static-nix-shell { };
|
static-nix-shell = callPackage ./additional/static-nix-shell { };
|
||||||
sublime-music-mobile = callPackage ./additional/sublime-music-mobile { };
|
sublime-music-mobile = callPackage ./additional/sublime-music-mobile { };
|
||||||
|
sxmo-utils = callPackage ./additional/sxmo-utils { };
|
||||||
tow-boot-pinephone = callPackage ./additional/tow-boot-pinephone { };
|
tow-boot-pinephone = callPackage ./additional/tow-boot-pinephone { };
|
||||||
|
|
||||||
# packages i haven't used for a while, may or may not still work
|
# packages i haven't used for a while, may or may not still work
|
||||||
|
Reference in New Issue
Block a user