Skip to content

Commit

Permalink
Add Nix derivation file
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelBoucey committed Jun 7, 2024
1 parent f76c851 commit c90c674
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions nanoid.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{ mkDerivation, aeson, base, bytestring, cereal, extra, lib
, mwc-random, optparse-applicative, text
}:
mkDerivation {
pname = "NanoID";
version = "3.4.0.1";
sha256 = "43785ef712a39c1b03e66b332d405083f95034a082494de871d0099d798c62bc";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson base bytestring cereal extra mwc-random text
];
executableHaskellDepends = [
base bytestring mwc-random optparse-applicative
];
description = "NanoID generator";
license = lib.licenses.bsd3;
mainProgram = "nanoid";
}

0 comments on commit c90c674

Please sign in to comment.