Comments (3)
Hello @WhosCounting, sorry for this! You're right, I'm not doing much here anymore. Reason is mainly that it is doing what I want :) But this also means that some things are outdated. The nix recipe is one such thing. Back then I tried to compile the software from within the nix build. But due to too many problems with this approach, I'm now just installing from a pre-build zip file. I'm now using this nix derivation:
{ stdenv, fetchurl, unzip, jre8 }:
with stdenv.lib;
stdenv.mkDerivation rec {
version = "0.3.0";
name = "chee-${version}";
src = fetchurl {
url = "https://github.com/eikek/chee/releases/download/release%2F${version}/chee-${version}.zip";
sha256 = "1g8dd0dlzdhhr4jiiz3vb62pikwl48rksppzg9z51d6qrc044vmi";
};
unpackPhase = ''
${unzip}/bin/unzip $src
'';
installPhase = ''
mkdir -p $out/{bin,program}
cp -r chee-${version}/* $out/program
sed -i 's,^java,${jre8}/bin/java,g' $out/program/chee
ln -s $out/program/chee $out/bin/chee
chmod 755 $out/program/chee
'';
meta = {
description = "Chee is a command line tool for managing photos.";
homepage = https://github.com/eikek/chee;
license = licenses.gpl3;
};
}
from chee.
Oh, don't be sorry! I meant it as a polite way of asking for help :)
Thanks for your derivation, this works for me (for possible future readers: I had to replace the first line with: with import <nixpkgs>{};
). And thanks one more time for sharing chee, I like it a lot.
from chee.
You are welcome; and thanks for the kind words!
from chee.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chee.