uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
39
pkgs/applications/misc/loxodo/default.nix
Normal file
39
pkgs/applications/misc/loxodo/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib, python3, fetchFromGitHub }:
|
||||
|
||||
python3.pkgs.buildPythonApplication {
|
||||
pname = "loxodo";
|
||||
version = "unstable-2021-02-08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sommer";
|
||||
repo = "loxodo";
|
||||
rev = "7add982135545817e9b3e2bbd0d27a2763866133";
|
||||
sha256 = "1cips4pvrqga8q1ibs23vjrf8dwan860x8jvjmc52h6qvvvv60yl";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [ six wxPython_4_0 ];
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/loxodo.py $out/bin/loxodo
|
||||
mkdir -p $out/share/applications
|
||||
cat > $out/share/applications/loxodo.desktop <<EOF
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Exec=$out/bin/loxodo
|
||||
Icon=$out/lib/${python3.libPrefix}/site-packages/resources/loxodo-icon.png
|
||||
Name=Loxodo
|
||||
GenericName=Password Vault
|
||||
Categories=Application;Other;
|
||||
EOF
|
||||
'';
|
||||
|
||||
doCheck = false; # Tests are interactive.
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Password Safe V3 compatible password vault";
|
||||
homepage = "https://www.christoph-sommer.de/loxodo/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue